package com.chy.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Article extends BaseEntity implements Serializable {
    @TableId(value = "art_id")
    private Long id;

    private Long categoryId;

    private String title;

    private String description;

    private Long userId;

    private String cover;

    private String content;

    private Integer browseNum;  // 浏览量

    private Integer sort;
}
